package com.weichen.studentgameexchange.game.dao;

import com.weichen.studentgameexchange.game.entity.GameSort;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;


/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 惟尘
 * @since 2025-02-01
 */
@Mapper
public interface GameSortMapper extends BaseMapper<GameSort> {

    @Delete("DELETE FROM game_sort WHERE game_id = #{gameId}")
    void deleteByGameId(Long gameId);
}

